package yy.zn.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 工单表
 *
 * @author LiuLei
 */
@ApiModel(value = "MocoRders", description = "工单表")
public class MocoRders {

    /**
     * 工单号;工单号
     */
    @TableField("MoId")
    @ApiModelProperty(name = "工单号", notes = "工单号")
    private int MoId;

    /**
     * 工单代号;工单代号
     */
    @TableField("MocCode")
    @ApiModelProperty(name = "工单代号", notes = "工单代号")
    private String MocCode;

    /**
     * 创建时间;创建时间
     */
    @TableField("CreateTime")
    @ApiModelProperty(name = "创建时间", notes = "创建时间")
    private Date CreateTime;

    /**
     * 创建人;创建人
     */
    @TableField("CreateUser")
    @ApiModelProperty(name = "创建人", notes = "创建人")
    private String CreateUser;

    /**
     * 工单单身Id;生产订单明细资料ID
     */
    @TableField("MoDId")
    @ApiModelProperty(name = "工单单身Id", notes = "生产订单明细资料ID")
    private int MoDId;

    /**
     * 来源生产订单明细ID;来源生产订单单号
     */
    @TableField("SourceMoCode")
    @ApiModelProperty(name = "来源生产订单明细ID", notes = "来源生产订单单号")
    private String SourceMoCode;

    /**
     * 销售订单明细Id;销售订单明细Id
     */
    @TableField("OrderDId")
    @ApiModelProperty(name = "销售订单明细Id", notes = "销售订单明细Id")
    private int OrderDId;

    /**
     * 销售订单明细Id;销售订单明细Id
     */
    @TableField("SourceMoDId")
    @ApiModelProperty(name = "销售订单明细Id", notes = "销售订单明细Id")
    private int SourceMoDId;

    /**
     * 原数量;原数量
     */
    @TableField("OrgQty")
    @ApiModelProperty(name = "原数量", notes = "原数量")
    private BigDecimal OrgQty;

    /**
     * 客户代号;客户代号
     */
    @TableField("CustCode")
    @ApiModelProperty(name = "客户代号", notes = "客户代号")
    private String CustCode;

    /**
     * 订单号码;订单号码
     */
    @TableField("OrderCode")
    @ApiModelProperty(name = "订单号码", notes = "订单号码")
    private String OrderCode;

    /**
     * 单据行条码;单据行条码
     */
    @TableField("cbSysBarCode")
    @ApiModelProperty(name = "单据行条码", notes = "单据行条码")
    private String cbSysBarCode;

    /**
     * 订单序号;订单序号
     */
    @TableField("SortSeq")
    @ApiModelProperty(name = "订单序号", notes = "订单序号")
    private int SortSeq;

    /**
     * 生产订单类别;生产订单类别
     */
    @TableField("MoTypeId")
    @ApiModelProperty(name = "生产订单类别", notes = "生产订单类别")
    private int MoTypeId;

    /**
     * 预计产量;预计产量
     */
    @TableField("Qty")
    @ApiModelProperty(name = "预计产量", notes = "预计产量")
    private BigDecimal Qty;

    /**
     * 生产批号;生产批号
     */
    @TableField("MoLotCode")
    @ApiModelProperty(name = "生产批号", notes = "生产批号")
    private String MoLotCode;

    /**
     * 生产部门;生产部门
     */
    @TableField("DeptCode")
    @ApiModelProperty(name = "生产部门", notes = "生产部门")
    private String DeptCode;

    /**
     * 报检数量;报检数量
     */
    @TableField("DeclaredQty")
    @ApiModelProperty(name = "报检数量", notes = "报检数量")
    private BigDecimal DeclaredQty;

    /**
     * 验收数量;验收数量
     */
    @TableField("QualifiedInQty")
    @ApiModelProperty(name = "验收数量", notes = "验收数量")
    private BigDecimal QualifiedInQty;

    /**
     * 状态;状态（NA-开立/FM-锁定/OP-审核/CL-关闭）
     */
    @TableField("Status")
    @ApiModelProperty(name = "状态", notes = "状态（NA-开立/FM-锁定/OP-审核/CL-关闭）")
    private int Status;

    /**
     * 工艺路线Id;工艺路线Id
     */
    @TableField("RoutingId")
    @ApiModelProperty(name = "工艺路线Id", notes = "工艺路线Id")
    private int RoutingId;

    /**
     * 物料ID;物料ID
     */
    @TableField("PartId")
    @ApiModelProperty(name = "物料ID", notes = "物料ID")
    private int PartId;

    /**
     * 品号;品号
     */
    @TableField("InvCode")
    @ApiModelProperty(name = "品号", notes = "品号")
    private String InvCode;

    /**
     * 仓库编号;仓库编号
     */
    @TableField("WhCode")
    @ApiModelProperty(name = "仓库编号", notes = "仓库编号")
    private String WhCode;

    /**
     * 备注;备注
     */
    @TableField("Remark")
    @ApiModelProperty(name = "备注", notes = "备注")
    private String Remark;

    /**
     * 存货名称;存货名称
     */
    @TableField("InvName")
    @ApiModelProperty(name = "存货名称", notes = "存货名称")
    private String InvName;

    /**
     * 规格型号;规格型号
     */
    @TableField("InvStd")
    @ApiModelProperty(name = "规格型号", notes = "规格型号")
    private String InvStd;

    /**
     * 物料规格;料规格
     */
    @TableField("StdRemark")
    @ApiModelProperty(name = "物料规格", notes = "料规格")
    private String StdRemark;

    /**
     * 客户物料编号;客户物料编号
     */
    @TableField("CustInvCode")
    @ApiModelProperty(name = "客户物料编号", notes = "客户物料编号")
    private String CustInvCode;

    /**
     * 仓库名称;仓库名称
     */
    @TableField("WhName")
    @ApiModelProperty(name = "仓库名称", notes = "仓库名称")
    private String WhName;

    public MocoRders() {
    }

    public int getMoId() {
        return MoId;
    }

    public void setMoId(int moId) {
        MoId = moId;
    }

    public String getMocCode() {
        return MocCode;
    }

    public void setMocCode(String mocCode) {
        MocCode = mocCode;
    }

    public Date getCreateTime() {
        return CreateTime;
    }

    public void setCreateTime(Date createTime) {
        CreateTime = createTime;
    }

    public String getCreateUser() {
        return CreateUser;
    }

    public void setCreateUser(String createUser) {
        CreateUser = createUser;
    }

    public int getMoDId() {
        return MoDId;
    }

    public void setMoDId(int moDId) {
        MoDId = moDId;
    }

    public String getSourceMoCode() {
        return SourceMoCode;
    }

    public void setSourceMoCode(String sourceMoCode) {
        SourceMoCode = sourceMoCode;
    }

    public int getOrderDId() {
        return OrderDId;
    }

    public void setOrderDId(int orderDId) {
        OrderDId = orderDId;
    }

    public int getSourceMoDId() {
        return SourceMoDId;
    }

    public void setSourceMoDId(int sourceMoDId) {
        SourceMoDId = sourceMoDId;
    }

    public BigDecimal getOrgQty() {
        return OrgQty;
    }

    public void setOrgQty(BigDecimal orgQty) {
        OrgQty = orgQty;
    }

    public String getCustCode() {
        return CustCode;
    }

    public void setCustCode(String custCode) {
        CustCode = custCode;
    }

    public String getOrderCode() {
        return OrderCode;
    }

    public void setOrderCode(String orderCode) {
        OrderCode = orderCode;
    }

    public String getCbSysBarCode() {
        return cbSysBarCode;
    }

    public void setCbSysBarCode(String cbSysBarCode) {
        this.cbSysBarCode = cbSysBarCode;
    }

    public int getSortSeq() {
        return SortSeq;
    }

    public void setSortSeq(int sortSeq) {
        SortSeq = sortSeq;
    }

    public int getMoTypeId() {
        return MoTypeId;
    }

    public void setMoTypeId(int moTypeId) {
        MoTypeId = moTypeId;
    }

    public BigDecimal getQty() {
        return Qty;
    }

    public void setQty(BigDecimal qty) {
        Qty = qty;
    }

    public String getMoLotCode() {
        return MoLotCode;
    }

    public void setMoLotCode(String moLotCode) {
        MoLotCode = moLotCode;
    }

    public String getDeptCode() {
        return DeptCode;
    }

    public void setDeptCode(String deptCode) {
        DeptCode = deptCode;
    }

    public BigDecimal getDeclaredQty() {
        return DeclaredQty;
    }

    public void setDeclaredQty(BigDecimal declaredQty) {
        DeclaredQty = declaredQty;
    }

    public BigDecimal getQualifiedInQty() {
        return QualifiedInQty;
    }

    public void setQualifiedInQty(BigDecimal qualifiedInQty) {
        QualifiedInQty = qualifiedInQty;
    }

    public int getStatus() {
        return Status;
    }

    public void setStatus(int status) {
        Status = status;
    }

    public int getRoutingId() {
        return RoutingId;
    }

    public void setRoutingId(int routingId) {
        RoutingId = routingId;
    }

    public int getPartId() {
        return PartId;
    }

    public void setPartId(int partId) {
        PartId = partId;
    }

    public String getInvCode() {
        return InvCode;
    }

    public void setInvCode(String invCode) {
        InvCode = invCode;
    }

    public String getWhCode() {
        return WhCode;
    }

    public void setWhCode(String whCode) {
        WhCode = whCode;
    }

    public String getRemark() {
        return Remark;
    }

    public void setRemark(String remark) {
        Remark = remark;
    }

    public String getInvName() {
        return InvName;
    }

    public void setInvName(String invName) {
        InvName = invName;
    }

    public String getInvStd() {
        return InvStd;
    }

    public void setInvStd(String invStd) {
        InvStd = invStd;
    }

    public String getStdRemark() {
        return StdRemark;
    }

    public void setStdRemark(String stdRemark) {
        StdRemark = stdRemark;
    }

    public String getCustInvCode() {
        return CustInvCode;
    }

    public void setCustInvCode(String custInvCode) {
        CustInvCode = custInvCode;
    }

    public String getWhName() {
        return WhName;
    }

    public void setWhName(String whName) {
        WhName = whName;
    }

    @Override
    public String toString() {
        return "MocoRders{" +
                ", MoId=" + MoId +
                ", MocCode='" + MocCode + '\'' +
                ", CreateTime=" + CreateTime +
                ", CreateUser='" + CreateUser + '\'' +
                ", MoDId=" + MoDId +
                ", SourceMoCode='" + SourceMoCode + '\'' +
                ", OrderDId=" + OrderDId +
                ", SourceMoDId=" + SourceMoDId +
                ", OrgQty=" + OrgQty +
                ", CustCode='" + CustCode + '\'' +
                ", OrderCode='" + OrderCode + '\'' +
                ", cbSysBarCode='" + cbSysBarCode + '\'' +
                ", SortSeq=" + SortSeq +
                ", MoTypeId=" + MoTypeId +
                ", Qty=" + Qty +
                ", MoLotCode='" + MoLotCode + '\'' +
                ", DeptCode='" + DeptCode + '\'' +
                ", DeclaredQty=" + DeclaredQty +
                ", QualifiedInQty=" + QualifiedInQty +
                ", Status=" + Status +
                ", RoutingId=" + RoutingId +
                ", PartId=" + PartId +
                ", InvCode='" + InvCode + '\'' +
                ", WhCode='" + WhCode + '\'' +
                ", Remark='" + Remark + '\'' +
                ", InvName='" + InvName + '\'' +
                ", InvStd='" + InvStd + '\'' +
                ", StdRemark='" + StdRemark + '\'' +
                ", CustInvCode='" + CustInvCode + '\'' +
                ", WhName='" + WhName + '\'' +
                '}';
    }
}